package chap4;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class GetOrder {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("input a,b,c:");
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();
        if(a>=b&&b>=c){
            System.out.println(c+"<"+b+"<"+a);
        }else if(a>=c&&c>=b){
            System.out.println(b+"<"+c+"<"+a);
        }else if(b>=a&&a>=c){
            System.out.println(c+"<"+a+"<"+b);
        }else if(b>=c&&c>=a){
            System.out.println(a+"<"+c+"<"+b);
        }else if(c>=a&&a>=b){
            System.out.println(b+"<"+a+"<"+c);
        }else{
            System.out.println(a+"<"+b+"<"+c);
        }
    }
}
